package com.myeasyexcel.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.myeasyexcel.pojo.entity.User;
import org.apache.xmlbeans.impl.xb.xmlconfig.Extensionconfig;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.swing.*;

/**
 * @author 作者
 * @create 2025-03-06 10:34
 */
public interface UserService extends IService<User> {
    /**
     * 批量导入
     *
     * @param file
     * @param response
     */
    void importExcel(MultipartFile file, HttpServletResponse response);

    /**
     * 批量导入模板
     *
     * @param response
     */
    void export(HttpServletResponse response);

    /**
     * 导出
     * @param param     需要导出的参数
     * @param response
     * @param request
     */
     void exportExcel(String param, HttpServletResponse response, HttpServletRequest request);
}
